using System;

namespace Convey.Auth.Dates;

internal static class Extensions
{
    public static long ToTimestamp(this DateTime dateTime) => new DateTimeOffset(dateTime).ToUnixTimeSeconds();
}